<?php

require_once('/adodb5/adodb.inc.php');
$server = "localhost";
$user = "root";
$pwd = "root";
$db = "zhangli-test";

$dsn = 'mysql://'.$user.':'.$pwd.'@localhost/'.$db.'?persist';

$DB = NewADOConnection($dsn);
//$DB->Connect($server, $user, $pwd, $db);
if (!$DB) 
{
  echo $dsn;
  die(" Connection failed");
}

?>